﻿
using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace Oliving.Edge.Model.Models
{
    ///<summary>
    ///
    ///</summary> 

    [SugarTable("Nlog_Log_202003_Info")]
    [Serializable]
    public class Nlog_Log_202003
    {
        public Nlog_Log_202003()
        {
        }


        /// <summary> 
        /// Desc: 
        /// Default: 
        /// Nullable:False 
        /// </summary> 

        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "Id")]
        public int Id { get; set; }



        /// <summary> 
        /// Desc: 
        /// Default: 
        /// Nullable:False 
        /// </summary> 

        [SugarColumn(ColumnName = "MachineName", Length = 100, ColumnDataType = "nvarchar")]
        public string MachineName { get; set; }



        /// <summary> 
        /// Desc: 
        /// Default: 
        /// Nullable:False 
        /// </summary> 

        [SugarColumn(ColumnName = "Logged")]
        public DateTime Logged { get; set; }



        /// <summary> 
        /// Desc: 
        /// Default: 
        /// Nullable:False 
        /// </summary> 

        [SugarColumn(ColumnName = "Level", Length = 100, ColumnDataType = "nvarchar")]
        public string Level { get; set; }



        /// <summary> 
        /// Desc: 
        /// Default: 
        /// Nullable:False 
        /// </summary> 

        [SugarColumn(ColumnName = "Message", ColumnDataType = "nvarchar")]
        public string Message { get; set; }



        /// <summary> 
        /// Desc: 
        /// Default: 
        /// Nullable:True 
        /// </summary> 

        [SugarColumn(ColumnName = "Logger", IsNullable = true, Length = 500, ColumnDataType = "nvarchar")]
        public string Logger { get; set; }



        /// <summary> 
        /// Desc: 
        /// Default: 
        /// Nullable:True 
        /// </summary> 

        [SugarColumn(ColumnName = "Callsite", IsNullable = true, ColumnDataType = "nvarchar")]
        public string Callsite { get; set; }



        /// <summary> 
        /// Desc: 
        /// Default: 
        /// Nullable:True 
        /// </summary> 

        [SugarColumn(ColumnName = "Exception", IsNullable = true, ColumnDataType = "nvarchar")]
        public string Exception { get; set; }


    }

}
